package com.maimao.model.echarts.common;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * @author MaoLin Wang
 * @date 2021/3/28 11:37 上午
 */
@Getter
@JsonInclude(JsonInclude.Include.NON_NULL)
@Setter
public class LineOption<T> extends EchartsOption<T> {

    private static final String LINE = SeriesTypeEnum.LINE.getType();

    /**
     * x轴坐标
     */
    private List<String> xAxisData;

    @Override
    public String getSeriesType() {
        return LINE;
    }
}
